# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :config.py
# @Time      :2022/7/21 15:30
# @Author    :吕华龙

class Defauly_Config():
    SECRET_KEY = "sajkldhasiou.las.dlasdkaskj"
    JSON_AS_ASCII = False
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_ECHO = True


class DevConfig(Defauly_Config):
    SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:123@127.0.0.1:3306/flask_p8"

    # cache
    CACHE_TYPE = "SimpleCache"
    # CACHE_DEFAULT_
